<template>

	<view>
		<view class="student_info">
			<image class="ph" src="../../static/ico_head.png" mode="aspectFill"></image>
			<view class="item">
				<view class="name">
					学员名称
				</view>
				<view class="text">
					培训机构名称
				</view>
			</view>
		</view>

		<view class="course">
			<view class="title">
				<view class="name">
					课程名称
				</view>
				<view class="tag">
					一对一
				</view>
			</view>
			<view class="list">
				<view class="item">
					<view class="name">
						剩余12课时
					</view>
					<view class="text">
						已消耗30课时/共购买42课时
					</view>
				</view>
				<view class="item">
					<view class="name">
						所在班级
					</view>
					<view class="text">
						<text>班级名称</text>
						<uv-icon name="arrow-right" color="#999" size="24rpx"></uv-icon>
					</view>
				</view>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>


<style lang="scss" scoped>
	.course {
		margin: 20rpx 38rpx;
		border-radius: 16rpx;
		background: #FFFFFF;

		.list {
			padding: 20rpx 40rpx;

			.item {
				padding: 12rpx 0;
			}

			.name {
				font-size: 28rpx;
				line-height: 40rpx;
				color: #3D3D3D;
				font-weight: 500;
				padding-bottom: 10rpx;
			}

			.text {
				font-size: 28rpx;
				line-height: 40rpx;
				color: #3D3D3D;
				opacity: 0.5;
				display: flex;
				align-items: center;

				text {
					margin-right: 10rpx;
				}
			}
		}

		.title {
			padding: 0 40rpx;
			height: 104rpx;
			border-bottom: 1px solid rgba(230, 229, 231, 0.8);
			display: flex;
			align-items: center;

			.name {
				font-size: 32rpx;
				color: #3D3D3D;
			}

			.tag {
				color: #FF8535;
				font-size: 20rpx;
				line-height: 32rpx;
				border: 2rpx solid #FF8535;
				padding: 0 10rpx;
				border-radius: 6rpx;
				margin-left: 20rpx;
			}
		}
	}

	.student_info {
		background: #fff;
		padding: 40rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;

		.ph {
			flex-shrink: 0;
			width: 130rpx;
			height: 130rpx;
			border-radius: 50%;
			margin-right: 24rpx;
		}

		.item {
			width: 100%;

			.name {
				height: 50rpx;
				font-size: 36rpx;
				font-weight: 500;
				color: #3D3D3D;
				line-height: 50rpx;
			}

			.text {
				margin-top: 15rpx;
				height: 40rpx;
				font-size: 28rpx;
				color: #3D3D3D;
				line-height: 40rpx;
			}
		}
	}
</style>